home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Menu / uidef / Slider.def < prev    next >
Encoding:
Text File  |  2004-01-09  |  2.6 KB  |  118 lines

  1. !Include("UI.def")
  2.  
  3. ControlObject("UISlider","SliderPattern","Pattern")
  4. {
  5.     PatternFile("..\\uidef\\Slider.def")
  6.     Command(1)
  7.     Notify(1)
  8.     CanFocus(0)
  9.     TextureFocusAlpha(1.0)
  10.     TextFocusAlpha(1.0)
  11.     SelKeyUp(0)
  12.     SelKeyDown(0)
  13.     Text("")
  14.     TextAlpha(1.0)
  15.     TextColor(1.0,1.0,1.0)
  16.     Font("MSSansSerif10")
  17.     TextPosFlags(34)
  18.     Mouse(1)
  19.     Keyboard(0)
  20.     Joy(0)
  21.     Visible(1)
  22.     ParentPositioning(1)
  23.     ParentCenteringX(1)
  24.     ParentCenteringY(0)
  25.     ParentSizingX(0)
  26.     ParentSizingY(0)
  27.     TextureAlpha(1.0)
  28.     LogicSize(0.335,0.033333335)
  29.     LogicPos(0.08125,0.82839346)
  30.  
  31.     Button("UIButton","ID_THUMB","","Specific")
  32.     {
  33.         PatternFileElem()
  34.     Checked(1)
  35.     Disabled(0)
  36.     CanCallPress(0)
  37.     CanCheck(0)
  38.     MouseLeaveDestroyFocus(1)
  39.     CheckSound("data/sounds/click")
  40.     TextureCheckedRect("Menu_Main.dds",1024.0,1024.0,840.0,88.0,845.0,93.0)
  41.     TextureCheckedAlpha(1.0)
  42.     TextCheckedAlpha(1.0)
  43.     TextureDisabledAlpha(1.0)
  44.     TextDisabledAlpha(1.0)
  45.     TextureFocusCheckAlpha(1.0)
  46.     TextFocusCheckAlpha(1.0)
  47.     CallPressPeriod(0.1)
  48.     DoubleClick(0.3)
  49.     Command(1)
  50.     Notify(1)
  51.     CanFocus(1)
  52.     TextureHightlightRect("Menu_Main.dds",1024.0,1024.0,840.0,88.0,845.0,93.0)
  53.     TextureFocusAlpha(1.0)
  54.     TextFocusAlpha(1.0)
  55.     SelKeyUp(200)
  56.     SelKeyDown(208)
  57.     FocusSound("data/sounds/highlight")
  58.     Text("")
  59.     TextAlpha(1.0)
  60.     TextColor(1.0,1.0,1.0)
  61.     Font("MSSansSerif8")
  62.     TextPosFlags(34)
  63.     Mouse(1)
  64.     Keyboard(1)
  65.     Joy(0)
  66.     Visible(1)
  67.     ParentPositioning(1)
  68.     ParentCenteringX(0)
  69.     ParentCenteringY(0)
  70.     ParentSizingX(0)
  71.     ParentSizingY(0)
  72.     FrameCornerSize(2,2)
  73.     TextureRect("Menu_Main.dds",1024.0,1024.0,840.0,88.0,845.0,93.0)
  74.     TextureAlpha(0.8)
  75.     LogicSize(0.0075,0.033333335)
  76.     LogicPos(0.25373134,0.0031127927)
  77.     }// [UIButton] ID_THUMB
  78.  
  79.     Window("UIWindow","ID_BKG","Specific")
  80.     {
  81.         PatternFileElem()
  82.     Mouse(0)
  83.     Keyboard(0)
  84.     Joy(0)
  85.     Visible(1)
  86.     ParentPositioning(1)
  87.     ParentCenteringX(0)
  88.     ParentCenteringY(0)
  89.     ParentSizingX(0)
  90.     ParentSizingY(0)
  91.     FrameCornerSize(2,2)
  92.     TextureRect("Menu_Main.dds",1024.0,1024.0,826.0,88.0,831.0,93.0)
  93.     TextureAlpha(1.0)
  94.     LogicSize(0.335,0.033333335)
  95.     LogicPos(0.0,0.0)
  96.     }// [UIWindow] ID_BKG
  97.  
  98.     Static("UIStatic","ID_LABEL","Specific")
  99.     {
  100.         PatternFileElem()
  101.     TextAlpha(1.0)
  102.     TextColor(1.0,1.0,1.0)
  103.     Font("TextFont")
  104.     TextPosFlags(34)
  105.     Mouse(1)
  106.     Keyboard(0)
  107.     Joy(0)
  108.     Visible(1)
  109.     ParentPositioning(1)
  110.     ParentCenteringX(1)
  111.     ParentCenteringY(0)
  112.     ParentSizingX(0)
  113.     ParentSizingY(0)
  114.     TextureAlpha(1.0)
  115.     LogicSize(0.2,0.053333335)
  116.     LogicPos(0.20149253,-1.2499999)
  117.     }// [UIStatic] ID_LABEL_COMM
  118. }// [UISlider] ID_SLIDER_COMM